x86 p2m: use common p2m ops in common p2m code path
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Aug 2009 16:23:11 +0000 (17:23 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Aug 2009 16:23:11 +0000 (17:23 +0100)
commitc805aed275d5b051f1f19f742574a4ead810b642
treecaf82ed82253a28602e154edb2a0321a80453aef
parent22d91502ea6d7abd9039354bccff8f4b744da4e2
x86 p2m: use common p2m ops in common p2m code path

We found recently there was an assertion failure when EPT mode is
enabled on 32PAE host when debug=y is used. The patch attached fixes
that. It uses the common p2m ops in the
common p2m code path p2m_remove_page rather than calling
p2m_gfn_to_mfn() for only shadow mode.

Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com>
xen/arch/x86/mm/p2m.c